package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;
import com.mdd.common.validator.annotation.IDMust;

/**
 * 意见反馈参数
 * @author LikeAdmin
 */
@Data
@ApiModel("意见反馈更新参数")
public class FeedbackUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @IDMust(message = "id参数必传且需大于0")
    @ApiModelProperty(value = "主键ID")
    private Integer id;

    @NotNull(message = "userId参数缺失")
    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @NotNull(message = "content参数缺失")
    @ApiModelProperty(value = "内容")
    private String content;

    @NotNull(message = "name参数缺失")
    @ApiModelProperty(value = "联系人姓名")
    private String name;

    @NotNull(message = "phone参数缺失")
    @ApiModelProperty(value = "联系人电话")
    private String phone;

    @NotNull(message = "company参数缺失")
    @ApiModelProperty(value = "所属公司")
    private String company;

    @NotNull(message = "status参数缺失")
    @ApiModelProperty(value = "处理状态 0=待处理 1=已处理")
    private Integer status;

    @NotNull(message = "remark参数缺失")
    @ApiModelProperty(value = "处理备注")
    private String remark;

}
